package com.ruoyi.api.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;
import java.util.Map;

@Data
@Document(value = "guid")
public class GuidEntity extends BaseEntity {




    private String title;

    private Double score;

    private Integer days;

    private Integer nights;

    private Integer places;

    private Integer hot;

    private String image;

    private String categories;

    private String startTime;

    private String endTime;

    private String region;

    private String address;

    /**
    * guid  plan
    * */
    private String type;

    private List<Map<String,Object>> childList;

    private List<Map<String,Object>> plans;

    private String userGuidId;

    private String userId;

    /** 创建者 */
    private String attribute;

    private List<ObjectId> guidIdList;

    private String noMine;

    private Integer visits;

}
